﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cit.CDE.Net.Module;

namespace Module
{
    public class Sys_Info
    {
        /// <summary>
        /// 系统编号ID
        /// </summary>
        public string SYS_ID;
 
        /// <summary>
        /// 系统代码
        /// </summary>
        public string SYS_CODE;

        /// <summary>
        /// 学校名称
        /// </summary>
        public string SYS_NAME;   
    
        /// <summary>
        /// 联系人
        /// </summary>
        public string MANAGER;

        /// <summary>
        /// 手机
        /// </summary>
        public string TEL;

        /// <summary>
        /// 电话
        /// </summary>
        public string MOBILE;

        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMAIL;

        /// <summary>
        /// 地址
        /// </summary>
        public string ADDR;     
  
        /// <summary>
        /// 备注
        /// </summary>
        public string MEMO;

        /// <summary>
        /// 注册时间
        /// </summary>
        public string REG_DATE;

        /// <summary>
        /// 是否审核
        /// </summary>
        public string AUDIT;

        /// <summary>
        ///设值
        /// </summary>
        /// <param name="entity"></param>
        public Sys_Info(CDEEntity sysInfo)
        {
            if (sysInfo != null)
            {
                this.SYS_ID = Util.objectToString(sysInfo.get("SYS_ID"));
                this.SYS_CODE = Util.objectToString(sysInfo.get("SYS_CODE"));
                this.SYS_NAME = Util.objectToString(sysInfo.get("SYS_NAME"));
                this.MANAGER = Util.objectToString(sysInfo.get("MANAGER"));
                this.TEL = Util.objectToString(sysInfo.get("TEL"));
                this.MOBILE = Util.objectToString(sysInfo.get("MOBILE"));
                this.EMAIL = Util.objectToString(sysInfo.get("EMAIL"));
                this.ADDR = Util.objectToString(sysInfo.get("ADDR"));
                this.MEMO = Util.objectToString(sysInfo.get("MEMO"));
                this.ADDR = Util.objectToString(sysInfo.get("ADDR"));
                this.REG_DATE = Util.objectToString(sysInfo.get("REG_DATE"));
                this.AUDIT = Util.objectToString(sysInfo.get("AUDIT")); ;//0:不审核,1:审核

            }
        }

    }
}
